﻿
namespace Freedom.WinCommon.Collections
{
    /// <summary>
    /// ILoadableObject
    /// </summary>
   public interface ILoadableObject
    {
        /// <summary>
        /// Gets the state of the loading.
        /// </summary>
        /// <value>The get loaded items count.</value>
        /// <returns></returns>
        int? LoadedItemsCount{ get;}

        /// <summary>
        /// Updates the state.
        /// </summary>
        void UpdateState();
        /// <summary>
        /// Refreshes this instance.
        /// </summary>
        void Refresh();
    }
}
